package thread;

public class StopTest {

	public static void main(String[] args) {
		
		System.out.println("程序开始运行");
		Thread.currentThread().stop(); 
//		Thread.currentThread().destroy(); //jdk7直接报NoSuchMethod异常，throw new NoSuchMethodError()
		System.out.println("正常运行到最后");
		
	}
}
